from tkinter import ttk
import tkinter as tk

class NoteLogFrame(ttk.Notebook):
    def __init__(self,*args,**kwords) -> None:
        super().__init__(*args,**kwords)
        self._design()
    def _design(self):
        for idx in range(3):
            self.c_log=tk.Label(self,text=f"noteframe{idx}")
            self.add(self.c_log,text=f"noteframe{idx}")

        # self.c_log.grid(column=0,row=0,sticky="wnse")
        # self.c_debug=tktk.LogFrame(self)
        # self.c_debug.grid(column=0,row=0,sticky="wnse")
        # self.c_error=tktk.LogFrame(self)
        # self.c_error.grid(column=0,row=0,sticky="wnse")
        # self.add(self.c_debug,text="debug")
        # self.add(self.c_error,text="error")

if __name__=="__main__":
    win = tk.Tk()
    NoteLogFrame(win).pack()
    win.mainloop()